<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class NoticeAction extends BaseApiAction {

	public function index() {
		die('非法参数');
	}

	//检查新提醒
	public function check() {
		$this->auth();
		$count = D("Notice")->cache("notice_new_" . $this->uid)->where("user_id=" . $this->uid . " and status=0")->count();
		$this->ajaxReturn($count, "", 1);
	}

}

?>
